/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.cpal.entrenamiento.controller;

import com.cpal.entrenamiento.entity.Palabra;
import com.cpal.entrenamiento.service.IPalabraService;
import java.util.List;
import org.zkoss.zk.ui.Component;
import org.zkoss.zk.ui.select.SelectorComposer;
import org.zkoss.zk.ui.select.annotation.Listen;
import org.zkoss.zk.ui.select.annotation.VariableResolver;
import org.zkoss.zk.ui.select.annotation.Wire;
import org.zkoss.zk.ui.select.annotation.WireVariable;
import org.zkoss.zk.ui.util.Clients;
import org.zkoss.zul.Combobox;
import org.zkoss.zul.Grid;
import org.zkoss.zul.ListModelList;
import org.zkoss.zul.Spinner;
import org.zkoss.zul.Textbox;
import org.zkoss.zul.Window;
import org.zkoss.zk.ui.event.Event;

/**
 *
 * @author avilca
 */
@VariableResolver(org.zkoss.zkplus.spring.DelegatingVariableResolver.class)
public class BuscarTerapeutaViewController extends SelectorComposer<Component> {
    
     private static final long serialVersionUID = 1L;
    @Wire
    Window modalDialogTerapeuta;    
    
     @Override
    public void doAfterCompose(Component comp) throws Exception {
        super.doAfterCompose(comp); //To change body of generated methods, choose Tools | Templates.

    }
  
     
    @Listen("onClick = #btnCloseTerapeuta")
    public void showModalPaciente(Event e) {
        modalDialogTerapeuta.detach();
    }
    
}
